<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>
        var allStr = 'hello world';
        var str = 'llo';
        console.log(allStr.includes(str))
        console.log(allStr.startsWith(str))
        console.log(allStr.endsWith(str))

        var a = 'z'
        console.log(a.repeat(3))

        var h = 'hello';
        console.log(h.padStart(10,'*'))
        console.log(h.padEnd(10,'*'))


    </script>
</body>
</html>